package com.linsen.core.common.constant;

/**
 * @author zhaoyong
 * @date 2023/3/15
 */
public interface AuthConstant {
    String TOKEN_NAME = "accessToken";

    Long TOKEN_TIMEOUT = 3600000L;

    String USER_CACHE_PREFIX = "linsen:auth:user:";

    String ROLE_CACHE_PREFIX = "linsen:auth:role:";

    String PERMISSION_CACHE_PREFIX = "linsen:auth:permission:";
}
